﻿using PineLake.Drmwe.EMail.MailKitEMail.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PineLake.Drmwe.EMail.MailKitEMail.Services
{
    /// <summary>
    /// MailKit 发送EMail 接口
    /// </summary>
    public interface IMailServices
    {
        /// <summary>
        /// 发送邮件
        /// </summary>
        /// <param name="MailDataModel">发送邮件的实体</param>
        /// <returns></returns>
        SendMailMsg SendEMail(MailData MailDataModel);
    }
}
